package com.example.demo.entity;

import java.net.InetAddress;

/**
 * @ClassName: AotherComponent
 * @Description: another component
 * @Author: shenxiang
 * @Date: 2021/11/19 23:19
 **/
public class AnotherComponent {

    private Boolean enable;

    private InetAddress remoteAddress;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public InetAddress getRemoteAddress() {
        return remoteAddress;
    }

    public void setRemoteAddress(InetAddress remoteAddress) {
        this.remoteAddress = remoteAddress;
    }

    @Override
    public String toString() {
        return "AotherComponent{" +
                "enable=" + enable +
                ", remoteAddress=" + remoteAddress +
                '}';
    }
}